/ Assembly List / LJCWinFormControls / ControlCommon / TextUnitWidth

Namespace - LJCWinFormControls


Parameters
control - The Control value.
textLength - The text length.
capsCount - The estimated uppercase count.

Returns

The textLength width in page units.

Syntax

C#
public static Int32 TextUnitWidth(Control control, Int32 textLength, Int32 capsCount = 0)

Use text consisting of possible characters (A-Z) or (a-z).

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.